package com.example.canteen.service;

import com.example.canteen.domain.Admin;

import java.util.List;

public interface AdminService {
    public boolean register(Admin admin);
    public Admin login(int id, String password);
    public boolean update(Admin admin);
    public List<Admin> findAll();
    public boolean delete(int id);
    public boolean valid_id(int id);
    public Admin findById(int id);

}
